/*
 * Copyright 2009 StructBeans Project
 * 
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 
 * License for the specific language governing rights and limitations under 
 * the License.
 */

package org.structbeans.test.case1;


import org.structbeans.annotations.StructBean;
import org.structbeans.annotations.StructField;
import org.structbeans.core.ByteOrder;
import org.structbeans.core.FieldType;


@StructBean(byteOrder = ByteOrder.LITTLE_ENDIAN, attributeOrder = { "someValue", "anotherValue" })
public class SampleBean {

	@StructField(fieldType = FieldType.UNSIGNED_INTEGER)
	private int someValue;
	
	@StructField(fieldType = FieldType.CHAR)
	private char anotherValue;
	
	public SampleBean() {}
	
	public int getSomeValue() { return someValue; }
	
	public void setSomeValue(int someValue) {this.someValue = someValue; }
	
	public char getAnotherValue() { return anotherValue; }
	
	public void setAnotherValue(char anotherValue) { this.anotherValue = anotherValue; }
}
